from django.contrib.auth.models import User, AbstractUser
from django.db import models


# Create your models here.
class User(AbstractUser):
    mobie = models.CharField(max_length=11, unique=True)

    class Meta:
        db_table = 'tb_users'
        verbose_name = '用户'  # 中文名字
        verbose_name_plural = verbose_name  # 复数形式
